package model.game.skills;

import java.io.Serializable;
import model.game.Player;
import model.game.Skill;
import model.effects.Heal;

public class SmallHeal implements Skill, Serializable, Itself{
    private String name;
    private int amount;
    private int variable;
    private Skill skill;
    public SmallHeal(Player player){
        Skill s = new EndSkill(); 
        this.amount = 2;
        s = new Heal(s, player, amount);
        this.skill = s;
        this.name = "Small Heal";
       
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void use() {
        skill.use();
    }

    @Override
    public int getAmount() {
        return amount;
    }

    @Override
    public void setAmount(int amount) {
        this.amount = amount;
    }

    @Override
    public int getVariable() {
        return variable;
    }

    @Override
    public void setVariable(int variable) {
        this.variable = variable;
    }
}
